<?php
$oUsers = UserHandler::getUsers();
?>
<div id="layer_user_delete" class="hidden" style="visibility: visible;">
<form action="index.php" method="post" name="form_user_delete">
<input type="hidden" name="sAction" value="user-delete">
<input type="hidden" name="sView" value="user-list">
<input type="hidden" name="iUser" value="<?php print $_REQUEST['iUser'] ?>">
<table class="boxborder" cellspacing="0">
	<tr>
		<td class="boxhandle" colspan="2"><?php print msg('Delete user') ?></td>
	</tr>
	<tr>
		<td class="fieldname"><?php print msg('Username') ?>:</td>
		<td class="fieldvalue"><input type="text" name="sUser" value="<?php print $oUsers[$_REQUEST['iUser']]->sUser ?>" disabled></td>
	</tr>
	<tr>
		<td class="boxbody" style="text-align: center;" colspan="2">
			<?php print msg('Are you sure you want<br>to delete this user?') ?>
		</td>
	</tr>
	<tr>
		<td class="boxbody" style="text-align: center;" colspan="2">
			<input type="submit" value="<?php print msg('OK') ?>">
			<input type="button" value="<?php print msg('Cancel') ?>" id="focus_user_delete" name="bCancel" onClick="layerHide('layer_user_delete');">
		</td>
	</tr>
</table>
</form>
</div>
